package com.cq.hd.system.config;

import lombok.Data;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.cloud.context.config.annotation.RefreshScope;
import org.springframework.stereotype.Component;

@RefreshScope
@Component
@Data
public class DynamicCommonConfig {

    public static String DOMAIN_URL;

    @Value("${domainUrl}")
    public void setDomainUrl(String domainUrl) {
        DOMAIN_URL = domainUrl;
    }

}
